package Interface;

import SqlClass.OrderData;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface Order {
    void InsertOrder(@Param("ShopSell") int SellId,
                     @Param("ShopBuy") int BuyId,
                     @Param("Shop") String ShopName,
                     @Param("Number") int Number,
                     @Param("TotailPrice") int TotailPrice,
                     @Param("TheName") String Thename,
                     @Param("Iphone") String Iphone,
                     @Param("Address") String Address,
                     @Param("Pay") String Pay
                     );
    List<OrderData> SelectUserOrder(@Param("userId")int UserId);
    void DeleteOrder(@Param("id") int id);
}
